package com.lx.tomcat.contained;

import com.lx.tomcat.lifecycle.Lifecycle;

import java.util.Collection;

public interface Container extends Lifecycle {
    String getName();
    void setName(String name);
    Container getParent();
    void setParent(Container container);
    void addChild(Container child);
    Collection<Container> findChildren();
}